package com.nl.lib_core.tool.extends

import android.widget.EditText

/** 针对EditTextView永久不弹出系统软键盘 */
fun EditText.unShow() {
  val cls = EditText::class.java
  val method = cls.getMethod("setShowSoftInputOnFocus", Boolean::class.java)
  method.isAccessible = true
  method.invoke(this, false)
}
